//
//  UIApplication+SLSDK.m
//  SLTool
//
//  Created by SongLian on 16/8/6.
//  Copyright © 2016年 SongLian. All rights reserved.
//

#import "UIApplication+SLSDK.h"

@implementation UIApplication (SLSDK)

+ (void)sl_keyboard_RollDown {
    [[UIApplication sharedApplication].keyWindow endEditing:YES];
}

+ (void)sl_callPhoneNumber:(NSString *)phoneNumber {
    NSString *urlString = [@"telprompt://" stringByAppendingString:phoneNumber];
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlString]];
}

@end
